import request from '@/utils/request'

// 默认登录接口
export const userLogin = ({ mobile, code }) => {
  return request.post('/v1_0/authorizations', { mobile, code })
}

// 验证码登录
export const userCode = (mobile) => {
  return request.get(`/v1_0/sms/codes/${mobile}`)
}
